package com.iot.redissonlock.model;

import lombok.Data;

/**
 * 描述:锁基本信息
 * @author: myx
 * @date: 2018/7/13
 * Copyright © 2018-hotpot. All rights reserved.
 */
@Data
public class LockInfo {

    private LockType type;
    private String name;
    private long waitTime;
    private long leaseTime;

    public LockInfo() {
    }

    public LockInfo(LockType type, String name, long waitTime, long leaseTime) {
        this.type = type;
        this.name = name;
        this.waitTime = waitTime;
        this.leaseTime = leaseTime;
    }

}
